package com.springboot.huli.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 培训表
 * </p>
 *
 * @author author
 * @since 2024-03-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Peixun extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 2主任，3.护士
     */
    private Integer usertype;

    /**
     * 关联的账号id
     */
    private Integer userid;

    /**
     * 培训名称
     */
    private String pxname;

    /**
     * 培训内容
     */
    private String pxcontent;


    /**
     * 培训地点
     */
    private String pxdd;

    /**
     * 培训日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date pxdate;

    /**
     * 创建时间
     */
    private Date ctime;

    /**
     * 修改时间
     */
    private Date utime;


}
